﻿<controls:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" x:Class="OpenRPOSBackOffice.EditNoteDialog"
           Width="340" Height="166" 
           Title="Edit Note">
    <Grid Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <sdk:Label HorizontalAlignment="Left" Content="Note Text" Height="15" VerticalAlignment="Top" Width="54" Margin="1,-6,0,0"/>
        <TextBox HorizontalAlignment="Left" Margin="0,12,0,0" Name="tbNoteText" VerticalAlignment="Top" Width="318" MaxLength="140" KeyDown="tbNoteText_KeyDown" Height="72" Grid.RowSpan="2" VerticalScrollBarVisibility="Auto" TextWrapping="Wrap"/>
        <Button x:Name="btnOK" Content="OK" Click="btnOK_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,79,0" Grid.Row="1" />
        <Button x:Name="btnCancel" Content="Cancel" Click="btnCancel_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,0,0" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>